package strongholdCraft.common.recipes;

import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import strongholdCraft.common.Items.ArmorItems;
import strongholdCraft.common.Items.Items;
import cpw.mods.fml.common.registry.GameRegistry;

public class Recipes {
	public static void addCraftingRecipes(){
    	GameRegistry.addRecipe(new ItemStack(Items.itemChisel, 1),"X "," O", Character.valueOf('X'),Item.ingotIron, Character.valueOf('O'), Item.stick);
    	GameRegistry.addShapelessRecipe(new ItemStack(Items.itemEndDust, 4), Item.enderPearl);
    	GameRegistry.addRecipe(new ItemStack(Items.itemEndIron, 1), "X", "O", 'X', Item.ingotIron, 'O', Items.itemEndDust );
    	GameRegistry.addRecipe(new ItemStack(ArmorItems.pumpkinHelm, 1), "X", "O", 'X', Block.pumpkin, 'O', Item.silk);
    	GameRegistry.addRecipe(new ItemStack(Items.itemEggBase, 1), "XXX", "XOX", "XXX", 'X', Item.egg, 'O', Items.itemMagicEssence);
    	for(int i=0; i<Items.itemChisel.getMaxDamage(); i++){
    		GameRegistry.addShapelessRecipe(new ItemStack(Block.stoneBrick, 1,3), Block.stone, new ItemStack(Items.itemChisel, 1, i));
    		
    	}
	}
}
